package org.teamh.gui.ingame;

import org.teamh.gui.GUI;


public class BuildObjectController {
	private GUI gui;
	private IngameController ingameController;
	private RecruitCreep buildObject;
	
	public BuildObjectController(GUI gui, IngameController ingameController) {
        this.gui=gui;
        this.setIngameController(ingameController);
        
	}

	public void recruit(){
		buildObject=gui.getIngameScreen().getIngameFunctions().getRuncreep();
		buildObject.recruitCreep();
	}

	public void setIngameController(IngameController ingameController) {
		this.ingameController = ingameController;
	}

	public IngameController getIngameController() {
		return ingameController;
	}
	
}
